<?php
require_once(dirname(__FILE__)."/include/newslist_data.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh" xml:lang="zh">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet"  type="text/css" href="css/common.css" />
	<title><?php echo $menu_news; ?></title>
</head>
<body>
	<table align="center" style="width:<?php echo $width;?>
		" border="0" >
		<tr>
			<td>
				<?php require_once("header.php");?></td>
		</tr>
		<tr>
			<td id="content">
				<div style="padding-left:0px; min-height:450px">
					<table style="width:99%;font-size:12px;padding:10px 0px 0px 20px" cellspacing="0" cellpadding="0" border="0">
						<tr>
							<td colspan="3" style="font-weight:bold; font-size:15px;color:white;background-color:#555555;padding:5px 0px 5px 10px;height:25px">
								新闻列表
							</td>
						</tr>
						<tr style="font-size:15px;">
							<td style="padding-top:5px;padding:20px 0px 20px 10px">新闻标题</td>
							<td style="padding-top:5px;padding:20px 0px 20px 10px">发表人</td>
							<td style="padding-top:5px;padding:20px 0px 20px 10px">发表时间</td>
						</tr>
<?php
	foreach($PageArray["newslist"] as $Object)
	{
?>
						<tr style="font-size:13px;padding:0px 0px 10px 10px">
							<td style="padding:0px 0px 10px 20px">
								<li>
									<a href="news.php?id=<?php echo $Object->id; ?>">
										<?php echo $Object->title; ?></a>
								</li>
							</td>
							<td style="padding:0px 0px 10px 10px">
								<?php echo $Object->user; ?></td>
							<td style="padding:0px 0px 10px 10px">
								<?php echo $Object->time;?></td>
						</tr>
<?php
}
?>
						<tr>
							<td colspan="3" style="height:20px"></td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<?php require_once("footer.php") ?></td>
		</tr>
	</table>
</body>
</html>